<?php

include_once ('com/alibaba/openapi/client/entity/SDKDomain.class.php');
include_once ('com/alibaba/openapi/client/entity/ByteArray.class.php');

class ComAlibabaOceanOpenplatformBizTradeResultTradeWithholdPreparePayResultMresult extends SDKDomain {

       	
    private $isPaySuccess;
    
        /**
    * @return 支付是否成功
    */
        public function getIsPaySuccess() {
        return $this->isPaySuccess;
    }
    
    /**
     * 设置支付是否成功     
     * @param Boolean $isPaySuccess     
     * 参数示例：<pre>true</pre>     
     * 此参数必填     */
    public function setIsPaySuccess( $isPaySuccess) {
        $this->isPaySuccess = $isPaySuccess;
    }
    
        	
    private $payChannel;
    
        /**
    * @return 支付成功渠道
    */
        public function getPayChannel() {
        return $this->payChannel;
    }
    
    /**
     * 设置支付成功渠道     
     * @param String $payChannel     
     * 参数示例：<pre>Alipay</pre>     
     * 此参数必填     */
    public function setPayChannel( $payChannel) {
        $this->payChannel = $payChannel;
    }
    
        	
    private $paySuccess;
    
        /**
    * @return 支付是否成功
    */
        public function getPaySuccess() {
        return $this->paySuccess;
    }
    
    /**
     * 设置支付是否成功     
     * @param Boolean $paySuccess     
     * 参数示例：<pre>true</pre>     
     * 此参数必填     */
    public function setPaySuccess( $paySuccess) {
        $this->paySuccess = $paySuccess;
    }
    
    	
	private $stdResult;
	
	public function setStdResult($stdResult) {
		$this->stdResult = $stdResult;
					    			    			if (array_key_exists ( "isPaySuccess", $this->stdResult )) {
    				$this->isPaySuccess = $this->stdResult->{"isPaySuccess"};
    			}
    			    		    				    			    			if (array_key_exists ( "payChannel", $this->stdResult )) {
    				$this->payChannel = $this->stdResult->{"payChannel"};
    			}
    			    		    				    			    			if (array_key_exists ( "paySuccess", $this->stdResult )) {
    				$this->paySuccess = $this->stdResult->{"paySuccess"};
    			}
    			    		    		}
	
	private $arrayResult;
	public function setArrayResult($arrayResult) {
		$this->arrayResult = $arrayResult;
				    		    			if (array_key_exists ( "isPaySuccess", $this->arrayResult )) {
    			$this->isPaySuccess = $arrayResult['isPaySuccess'];
    			}
    		    	    			    		    			if (array_key_exists ( "payChannel", $this->arrayResult )) {
    			$this->payChannel = $arrayResult['payChannel'];
    			}
    		    	    			    		    			if (array_key_exists ( "paySuccess", $this->arrayResult )) {
    			$this->paySuccess = $arrayResult['paySuccess'];
    			}
    		    	    		}
 
   
}
?>